package com.shujia.abstract_;

public class PersonTest {

    public static void main(String[] args) {
        // 'Person' is abstract; cannot be instantiated
        // Person person = new Person();

        // 创建抽象类的对象, 使用多态
        Person zs = new Student();
//        zs.name = "张三";
//        zs.eat();
//        System.out.println(zs.COUNTRY);
//
//        zs.run();
    }
}
